﻿using System;
using System.Xml.Serialization;

namespace FlickrSL.Data
{
    [XmlType("exif")]
    public class ExifTag
    {
        [XmlAttribute("tagspace")]
        public String TagSpace { get; set; }

        [XmlAttribute("tagspaceid")]
        public Int32 TagSpaceId { get; set; }

        [XmlAttribute("label")]
        public String Label { get; set; }

        [XmlElement("raw")]
        public String RawValue { get; set; }

        [XmlElement("clean")]
        public String CleanValue { get; set; }
    }

    [XmlType("photo")]
    public class ExifTagCollection
    {
        [XmlAttribute("id")]
        public Int64 PhotoId { get; set; }

        [XmlAttribute("secret")]
        public String Secret { get; set; }

        [XmlAttribute("server")]
        public Int32 Server { get; set; }
    }
}
